package com.github.chirspan.xaas.uc.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.util.tree.Tree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2021-08-10 11:03:10
 * @Description: 机构信息
 */
@TableName(value = "xaas_org_organization")
@Data
@ToString(callSuper = true)
public class OrgOrganization extends Tree {

    @ApiModelProperty(value = "组织机构代码（社会统一信用代码）")
    @TableField(value = "org_code")
    private String orgCode;

    @ApiModelProperty(value = "机构名称")
    @TableField(value = "org_name")
    private String orgName;

    @ApiModelProperty(value = "第二名称（简称）")
    @TableField(value = "org_alias_name")
    private String orgAliasName;

    @ApiModelProperty(value = "级别")
    @TableField(value = "org_level")
    private String orgLevel;

    @ApiModelProperty(value = "等次")
    @TableField(value = "org_grade")
    private String orgGrade;

    @ApiModelProperty(value = "地址-省")
    @TableField(value = "addr_province")
    private String addrProvince;

    @ApiModelProperty(value = "地址-市")
    @TableField(value = "addr_city")
    private String addrCity;

    @ApiModelProperty(value = "地址-县")
    @TableField(value = "addr_county")
    private String addrCounty;

    @ApiModelProperty(value = "地址-乡")
    @TableField(value = "addr_town")
    private String addrTown;

    @ApiModelProperty(value = "地址-村")
    @TableField(value = "addr_village")
    private String addrVillage;

    @ApiModelProperty(value = "地址-门牌号")
    @TableField(value = "addr_house_no")
    private String addrHouseNo;

    @ApiModelProperty(value = "行政区划")
    @TableField(value = "administrative_division")
    private String administrativeDivision;

    @ApiModelProperty(value = "邮编")
    @TableField(value = "zip_code")
    private String zipCode;

    @ApiModelProperty(value = "电话")
    @TableField(value = "telecom")
    private String telecom;

    @ApiModelProperty(value = "邮箱")
    @TableField(value = "email")
    private String email;

    @ApiModelProperty(value = "网址")
    @TableField(value = "website")
    private String website;

    @ApiModelProperty(value = "成立日期")
    @TableField(value = "establish_date")
    private String establishDate;

    @ApiModelProperty(value = "机构介绍")
    @TableField(value = "org_introduction")
    private String orgIntroduction;

}

